package com.project.nimsen.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * url信息实体类
 * */
@Entity
@Table(name="urlinfo")
public class Urlinfo implements Serializable {
	private static final long serialVersionUID = -5078405746890740089L;
	private String url;//url地址
	private String urlname;//url名称
	private String urldesc;//url备注
	private String urloutid;//url外链接表的id
	private String urloutable;//url外链接的table名
	private String createUser;//创建用户
	private Date createTime;//创建时间
	private Integer active;//0表示正常，1表示删除
	private String id;
	@Id
	@Column(name = "id", unique = true, nullable = false)
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Column(name = "createUser")
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	@Column(name = "createTime")
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	@Column(name = "active")
	public Integer getActive() {
		return active;
	}
	public void setActive(Integer active) {
		this.active = active;
	}
	@Column(name = "url")
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	@Column(name = "urlname")
	public String getUrlname() {
		return urlname;
	}
	public void setUrlname(String urlname) {
		this.urlname = urlname;
	}
	@Column(name = "urldesc")
	public String getUrldesc() {
		return urldesc;
	}
	public void setUrldesc(String urldesc) {
		this.urldesc = urldesc;
	}
	@Column(name = "urloutid")
	public String getUrloutid() {
		return urloutid;
	}
	public void setUrloutid(String urloutid) {
		this.urloutid = urloutid;
	}
	@Column(name = "urloutable")
	public String getUrloutable() {
		return urloutable;
	}
	public void setUrloutable(String urloutable) {
		this.urloutable = urloutable;
	}
}
